//
//  CDisItemView.h
//  HCHK_iphone
//
//  Created by yilong zhang on 11-12-9.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>

//================================================================================================================

@interface CDisContent : UIView

@property (nonatomic, assign) UILabel       *m_Text;
@property (nonatomic, assign) UIImageView   *m_Cross;
@property (nonatomic, assign) UIView        *m_Border;

-(id)initWithFrame:(CGRect)frame Text:(NSString*)text;

+(CGFloat)GetDicContentHeight:(NSString*)text Width:(CGFloat)width Font:(UIFont*)font;

@end

//================================================================================================================

@interface CDisItemView : UIView <UITextViewDelegate>

@property (nonatomic, assign) UIImageView   *m_Imgae;
@property (nonatomic, assign) UILabel       *m_Name;
@property (nonatomic, assign) CDisContent   *m_Content;

- (id)initWithFrame:(CGRect)frame IconDic:(int)dic;
- (id)initWithFrame:(CGRect)frame Name:(NSString*)name Content:(NSString*)content Time:(NSString*)time IconDic:(int)dic;

@end
